package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 有关该数据集说明信息
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
public class BdpWfFlowCategory extends Model<BdpWfFlowCategory> {

    private static final long serialVersionUID=1L;

    /**
     * 流程分类标识
     */
    @TableId("CATEGORY_ID")
    private String categoryId;

    /**
     * 分类名称
     */
    @TableField("NAME")
    private String name;

    /**
     * 分类代码
     */
    @TableField("CODE")
    private String code;

    /**
     * 分类说明
     */
    @TableField("NOTES")
    private String notes;

    /**
     * 公司
     */
    @TableField("INNER_COMPANY_ID")
    private String innerCompanyId;

    /**
     * 创建人
     */
    @TableField("INNER_CREATOR_ID")
    private String innerCreatorId;

    /**
     * 创建时间
     */
    @TableField("INNER_CREATE_TIME")
    private LocalDateTime innerCreateTime;

    /**
     * 删除标志
     */
    @TableField("INNER_DELETE_FLAG")
    private Integer innerDeleteFlag;


    public String getCategoryId() {
        return categoryId;
    }

    public BdpWfFlowCategory setCategoryId(String categoryId) {
        this.categoryId = categoryId;
        return this;
    }

    public String getName() {
        return name;
    }

    public BdpWfFlowCategory setName(String name) {
        this.name = name;
        return this;
    }

    public String getCode() {
        return code;
    }

    public BdpWfFlowCategory setCode(String code) {
        this.code = code;
        return this;
    }

    public String getNotes() {
        return notes;
    }

    public BdpWfFlowCategory setNotes(String notes) {
        this.notes = notes;
        return this;
    }

    public String getInnerCompanyId() {
        return innerCompanyId;
    }

    public BdpWfFlowCategory setInnerCompanyId(String innerCompanyId) {
        this.innerCompanyId = innerCompanyId;
        return this;
    }

    public String getInnerCreatorId() {
        return innerCreatorId;
    }

    public BdpWfFlowCategory setInnerCreatorId(String innerCreatorId) {
        this.innerCreatorId = innerCreatorId;
        return this;
    }

    public LocalDateTime getInnerCreateTime() {
        return innerCreateTime;
    }

    public BdpWfFlowCategory setInnerCreateTime(LocalDateTime innerCreateTime) {
        this.innerCreateTime = innerCreateTime;
        return this;
    }

    public Integer getInnerDeleteFlag() {
        return innerDeleteFlag;
    }

    public BdpWfFlowCategory setInnerDeleteFlag(Integer innerDeleteFlag) {
        this.innerDeleteFlag = innerDeleteFlag;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.categoryId;
    }

    @Override
    public String toString() {
        return "BdpWfFlowCategory{" +
        "categoryId=" + categoryId +
        ", name=" + name +
        ", code=" + code +
        ", notes=" + notes +
        ", innerCompanyId=" + innerCompanyId +
        ", innerCreatorId=" + innerCreatorId +
        ", innerCreateTime=" + innerCreateTime +
        ", innerDeleteFlag=" + innerDeleteFlag +
        "}";
    }
}
